package com.renge.statisticsservice.cron;

import org.springframework.scheduling.annotation.Scheduled;

import java.util.Date;

//@Component
public class ScheduledTask {
    @Scheduled(cron = "0/5 * * * * ?")
    public void demo01(){
        System.out.println(new Date());
    }
}
